package main

import (
	"fmt"
	_ "pp/comm"
	"pp/src"
	"time"

	"github.com/sirupsen/logrus"
)

func main() {
	fmt.Println("hello gogogo")
	if true {
		defer fmt.Println("11111")
	}

	logrus.Info("------------------------------------------------------------------------------")
	testLocal()

	start := time.Now()
	src.StatMod77()
	src.DoStatWxUid()
	src.DoStatONDevid()
	src.Dadishu()
	src.DoUser()
	fmt.Println("cost cpu:", time.Since(start))
}

func testLocal() {
	var tmap = map[uint32]uint32{}
	changeMap(tmap)
}

func changeMap(m map[uint32]uint32) {
	m[1]++
	m[2] = 12
}
